<script setup>
function down() {
    alert('加载成功')
}
</script>

<template>
<div>
    <h1>顶部taber栏</h1>
    <button @click = "down">按钮</button>
</div>
<hr>
</template>

<style scoped>

</style>